//
//  YLEditAdressViewController.h
//  YLFinanceService
//
//  Created by she1323 on 2017/9/8.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLNavWhiteColorViewController.h"
@class YLMyAdressModel;

@class YLEditAdressViewController;


@protocol YLEditAddressViewControllerDelegate<NSObject>

/**
 修改和添加了一个地址
 */
- (void)edidAddressViewController:(YLEditAdressViewController *)controller addAddress:(YLMyAdressModel *)model;
@end


@interface YLEditAdressViewController : YLNavWhiteColorViewController

// 点击了一个城市,传回城市名
@property (nonatomic, strong) void (^addAdressBlock)(NSString *city);

// 代理
@property (nonatomic, weak) id<YLEditAddressViewControllerDelegate> delegate;

// 地址模型
@property (nonatomic, strong) YLMyAdressModel *adressModel;
@end
